package com.zhangwei.advanced;

import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;

public class MainActivity extends ActionBarActivity implements BlankFragment.OnFragmentInteractionListener {

    private BlankFragment fragment;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        fragment = new BlankFragment();
        fragment.setmListener(this);


    }




    @Override
    public void onFragmentInteraction(int position) {

    }
}
